import React, { Component } from 'react'
import { connect } from 'react-redux'
import { View,Map,Button} from '@tarojs/components'



import './index.scss'


@connect(({ counter }) => ({
  counter
}))
class Index extends Component {
  componentWillReceiveProps (nextProps) {
    console.log(this.props, nextProps)
  }

  componentWillUnmount () { }

  componentDidShow () { }

  componentDidHide () { }

  render () {
    return (
      <View className='index'>
        <Map  className='map'
              longitude="116.46"
              latitude="39.92"
              show-compass="true"	></Map>
        
      </View>
    )
  }
}

export default Index

